//
//  FontConfig.h
//  ProjectExtension
//
//  Created by Apple on 2020/1/8.
//  Copyright © 2020 lidianchao. All rights reserved.
//

#ifndef FontConfig_h
#define FontConfig_h

//字体字号相关



/**
 *  label 的字体大小
 */
#define labelSmallFont 10
#define labelBigFont 17
#define labelMiddleFont 15
#define kLargeFont 16
/**
 *  正常
 *
 *  @param >.0 用于区分9和8
 */
#define RGB0X(hexValue) [UIColor colorWithRed:((float)((hexValue & 0xFF0000) >> 16)) / 255.0 green:((float)((hexValue & 0xFF00) >> 8)) / 255.0 blue:((float)(hexValue & 0xFF)) / 255.0 alpha:1.0f]


#define kNewFontLight  ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0 ) ? @"PingFangSC-Light": @"Helvetica"
//粗体
#define kFontNameMedium ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0 ) ? @"PingFangSC-Semibold" : @"Helvetica-Bold"
//细体
#define kFontNameRegular  ([[[UIDevice currentDevice] systemVersion] floatValue] >= 9.0 ) ? @"PingFangSC-Regular" : @"Helvetica-Light"


#endif /* FontConfig_h */
